package edu.hrbeu.crc.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

@Data
public class SavingPlanDTO implements Serializable {

    private Integer id;

    private String name;

    private Double targetAmount;

    private Double currentAmount;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    private String remark;
}
